Manage Scheduled Jobs

You can use the Background Processes page to: 

  • Run a selected job immediately. To run a job, it must be active.
  • Re-initialize the background processing system if the service appears to be not running.

You can add or edit jobs and then schedule them so that they are executed as a background process. For example, a job refreshes the students in dynamic groups you created using Views. You can schedule it to run on an interval of your choice. You can also specify whether or not it runs (Active Yes or No) and who is notified when it completes.

The page also displays existing SQL jobs which you can only view, activate, or deactivate but cannot add or edit from Anthology Student. For example, there is a job that refreshes the students in dynamic groups using a query. For SQL jobs, you cannot change the interval. You can specify whether or not it runs (Active Yes or No) and who is notified when it completes.

Prerequisites

You must have System Administration - Processes - Manage authorization.

You should also be familiar with the Background for Scheduled Jobs in Anthology Student.

Access Method

Select the Processes tile > locate System Administration > select Background Processes.

Procedure to Run a Job or Reset a Service

  1. Select the Schedule tab.

  2. To run the job, select an active job in the grid and select the Run Now button on the toolbar.

    Anthology Student executes the job.

  3. To reset the background processing system, select the Reset Service button on the toolbar.

    Anthology Student background processing system re-initializes the recurring jobs from the scheduled jobs list. This resets the background processing system. It is not related to any specific job in the list.

Procedure to Add or Edit Jobs

  1. Select the Schedule tab.

  2. If you want to:

    • Add a new list item, select the New button on the toolbar

    • Edit an existing list item, select the name in the list

    • Add a new list item by copying and modifying an existing list item, select the row in the list and select the Duplicate button on the toolbar

  3. Review, specify, or change the following values. The fields that are displayed will vary depending on the job type.

    End Date - Leave blank for noneClosed The end date of the scheduled job.

    Http VerbClosed Select the HTTP verb. The values are Post, Put, Get, and Delete. This option is displayed when you select Webhook in Job Type.

    Is ActiveClosed Specifies whether or not the job is active and still being run.

    Job Schedule Closed Specifies when you want the job to run. You can select a predefined schedule or "Manually enter the cron value" to specify your schedule.

    Job TypeClosed The supported job types are Batch Process, Service, Webhook, and Workflow. For information about using these options, contact your Professional Services Representative.

    Name Closed The name of the job.

    Operation NameClosed The Operation Name to display in notification messages. Notifications from scheduled jobs will route to the correct UI element based on the Operation Name.

    Schedule (cron format)Closed The cron string that specifies when the job is run. If you selected:  - "Manually enter cron value" in the Job Schedule list, you must specify the cron string - For any other value in the Job Schedule list, Anthology Student displays the cron string appropriate for the selected schedule.

    Start Date - Leave blank for immediatelyClosed The start date of the scheduled job.

    Time ZoneClosed Select the time zone that you want Anthology Student to use to determine when to run a scheduled job.

    User NotificationClosed The staff who will be notified when a scheduled job is completed.

    Webhook URLClosed The Webhook URL.

    Workflow Schedule Entity NameClosed Enter the workflow schedule entity name to be used for the schedule.

  4. If you selected Webhook and you want to add job parameters, select Add Parameter to add the parameter key and parameter value.

  5. If you want to save and:

    • Continue making changes, select the Save button

    • Continue to add another item to the list, select the Save & New button

    • Close, select the Save & Close button

When the job is executed, Anthology Student displays the results on the History tab.

For information about scheduled jobs, refer to the "Scheduled Jobs Migration for Anthology Cloud" topic in the Administration and Configuration Help for the version of the product at help.anthology.com .

Example of a Cleanup Job

The following example of a cleanup job specifies that 1000 history records will be kept across all jobs with up to 20 entries (rows) per job type. After 4 weeks all history records are deleted.

@MaxEntries INT = 1000,

@MaxPerJob INT = 20,

@MaxWeeks INT = 4

Shows example screen for cleaning up the scheduled job history.

Example of an Archive Attendance Job

The following example displays the job that archives attendance daily.

Shows example of screen for archiving attendance.

Example of a Scheduled Stipend Disbursement Eligibility Job

Once a job is created, Bursary Central will check all of the Stipend Disbursement Schedule for rows with status set to any value other than "Processed". The Stipend Disbursement Schedule is assigned to student profiles based on assignment criteria defined during its configuration. The job created here will check and assign a status to the stipend schedule after checking the students' eligibility.

The following table represents the status of jobs scheduled here and the appropriate statuses with reasons that will be assigned to the Stipend Schedule:

Job Status Schedule Status Reasons
On-hold Hold Stipend on hold
Eligible Eligible

◦   Student has met the minimum cumulative GPA needed in the previous term

◦   Student has registered for at least one course in the current term

◦   Student has met the minimum credits required for the current term

◦   The school status assigned to the student matches with the school status defined for the enrollment in the stipend schedule

The following example displays the job that checks students' eligibility to Stipend Disbursements daily. The IsActive and User Notification fields are editable. The other parameters are defined by Anthology Student International and can be customized upon request.

Image of the eligibility check on Stipend Schedules

Example of a Scheduled Workflow Job

Previously, when an institution created a workflow based on a schedule, the process was to schedule an SQL job to trigger the workflow.

Scheduled workflow

With Anthology Student 20.0 and later, you can trigger workflows with scheduled jobs created in Anthology Student.

  1. Sign in to Anthology Student with an Administrator User ID. You must have permission for the Admin.BackgroundProcesses.View and Admin.BackgroundProcesses.Save operations.

  2. Select the Processes tile > locate System Administration > select Background Processes.

  3. Select the New button and specify the schedule parameters. The schedule in the example below will execute the job every day at midnight.

    When you select a value from the Job Schedule drop-down, the Schedule (cron format) field is populated automatically. You can also specify a custom cron string. For more information, refer to Examples of crontab expressions.

    Scheduled workflow

  4. Save the new job. Select it in the Scheduled Jobs grid and select Run Now to test it.

    Scheduled workflow

  5. View the details by expanding the row.

    Scheduled workflow

Limitations

You cannot edit the following values for list items that have a Yes in the System Job column:

  • Job Name
  • Job Parameters
  • Job Type — The fields that are displayed depend on the job type.

These items are defined by Anthology Student.

Delete or Deactivate Scheduled Jobs

You can use the Background Processes page to delete or deactivate schedule jobs.

  • Deleting an item permanently removes it. No record of deleted list items is maintained in Anthology Student.

  • Deactivating an item keeps a record of it in Anthology Student (preferred).

Procedure to Delete Items

  1. Highlight the item in the list.

  2. Select the Delete button on the toolbar.

The item is:

  • Removed from the list on the page and the list is redisplayed

  • No longer available to select on the forms that contain the list

Procedures for Deactivating Items

There is more than one method for deactivating an item.

Method Procedure to Follow Result
Using a toolbar button
  1. Highlight one item in the list.

  2. Select the Deactivate button on the toolbar.

The item: 

  • Remains displayed in the list with No in the Active column

  • Is also no longer available to select on the forms that contain the list

Editing the item
  1. Select the name of the item in the list.

  2. In the Active drop-down, select No.

  3. Select the Save and Close button.

Because the item is not removed, you can also make it active again by selecting the Activate button.

Limitations

You cannot delete items that have a Yes in the System Job column. These items are defined by Anthology Student.